//
//  pwm.h
//  smart_garbage_case
//
//  Created by fukai on 2018/10.
//  Copyright © 2018年 Cyber01. All rights reserved.
//

#ifndef pwm_h
#define pwm_h



void ServoPwmInit(unsigned int arr,unsigned int psc);//舵机PWM初始化
void SystemPwmInit(void);//麦克纳姆轮(Mecanum wheel)PWM初始化	
void FrontLeftPwmSet(int pwm_duty);//左前轮PWM输出
void FrontRightPwmSet(int pwm_duty);//右前轮PWM输出
void RearLeftPwmSet(int pwm_duty);//左后轮PWM输出
void RearRightPwmSet(int pwm_duty);//右后轮PWM输出
void ServoPwnSet(int pwm_duty);//舵机PWM输出设置







#endif


